package com.atguigu.gulimall.product.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryEntity;
import com.atguigu.gulimall.product.vo.Categlog2Vo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-10-31 22:55:51
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryTree();

    void removeAllId(List<Long> longs);

    Long[] queryCategoryIdPath(Long catelogId);

    void updateByIdDeail(CategoryEntity category);

    List<CategoryEntity> selectLevel1();

    Map<String,List<Categlog2Vo>> getCategory23();
}

